#include"process.h"
void ProcessOn()
{
  char str[101];
  char roll[4]={'|','\\','-','/'};
  memset(str,'\0',sizeof(str));
  int cnt=0;
  while(cnt<=100)
  {
    printf("[%-100s][%3d][%c]\r",str,cnt,roll[cnt%4]);
    fflush(stdout);
    str[cnt++]='#';
    usleep(50000);
  }
  printf("\n");
}
